﻿using System.Net;

namespace ChatClientApp.Classes
{
    public class ChatFileMessage : ChatMessage
    {
        byte[] fileData;
        string fileName;

        public ChatFileMessage(string nick, string[] mess, IPEndPoint ipe, byte[] data, string filename) : base(nick, mess, ipe)
        {
            fileData = data;
            fileName = filename;
        }

        public byte[] FileData
        {
            get { return fileData; }
            set { fileData = value; }
        }

        public string FileName
        {
            get { return fileName; }
            set { fileName = value; }
        }
    }
}
